import Vue from "vue";
import App from "@/App.vue";
import createRoute from "@/router";
import store from "@/store";
import "@/common.js";
import view from "./index.vue";
import { commonBack } from "@/global/storage";
import focus from "epg-focus-vue";
Vue.use(focus, { back: commonBack });
let router = createRoute("${insertVal}", view);

/**
 * 设置为false，阻止VUE在启动时生成生产提示
 */
Vue.config.productionTip = false;
new Vue({
  router,
  store,
  render: (h) => h(App),
  mounted() {
    window.app = this;
  },
}).$mount("#app");
